-- GENERATED SPELL FOR [Iron Rune Laborer] --


function spell0_23711(pUnit, Event) --@Puncture Wound,n/a--
pUnit:FullCastSpellOnTarget(48374,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23711', 5000, 1)
end

function Sorts_23711(pUnit, Event)
local choix_sorts_23711 = math.random(0, 0)
if choix_sorts_23711 == 0 then
pUnit:RegisterEvent('spell0_23711', 1, 1)
end
end

function mob23711_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23711', math.random(1500, 3000), 1)
end

function mob23711_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23711_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23711_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23711, 1, 'mob23711_Action')
RegisterUnitEvent(23711, 2, 'mob23711_Leave')
RegisterUnitEvent(23711, 3, 'mob23711_Kill')
RegisterUnitEvent(23711, 4, 'mob23711_Die')
